﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace OrBitDataModule.Interface
{
    public interface ISetting
    {
        /// <summary>
        /// 设置的任务名称
        /// </summary>
        string SettingName { get; }

        /// <summary>
        /// 任务类型
        /// </summary>
        string SettingType { get; }
        /// <summary>
        /// 获取设置
        /// </summary>
        /// <returns></returns>
        string GetSetting();
        /// <summary>
        /// 初始化加载设置
        /// </summary>
        /// <param name="json"></param>
        void LoadSetting(string json);
    }
}
